<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::Decimater::ModProgMeshT&lt; MeshT &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a02685.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="a02682.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::Decimater::ModProgMeshT&lt; MeshT &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Collect progressive mesh information while decimating.  
 <a href="a02685.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00599_source.html">OpenMesh/Tools/Decimater/ModProgMeshT.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OpenMesh::Decimater::ModProgMeshT&lt; MeshT &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02684.png" border="0" usemap="#OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_inherit__map" id="OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_inherit__map">
<area shape="rect" id="node2" href="a02661.html" title="Base class for all decimation modules. " alt="" coords="20,5,177,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for OpenMesh::Decimater::ModProgMeshT&lt; MeshT &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02683.png" border="0" usemap="#OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_coll__map" id="OpenMesh_1_1Decimater_1_1ModProgMeshT_3_01MeshT_01_4_coll__map">
<area shape="rect" id="node2" href="a02661.html" title="Base class for all decimation modules. " alt="" coords="20,5,177,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02689.html">Info</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct storing progressive mesh information.  <a href="a02689.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae457b51ce00895437a68a71ebad65d41"><td class="memItemLeft" align="right" valign="top"><a id="ae457b51ce00895437a68a71ebad65d41"></a>
typedef <a class="el" href="a02685.html">ModProgMeshT</a>&lt; MeshT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Self</b></td></tr>
<tr class="separator:ae457b51ce00895437a68a71ebad65d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a9f63a43625c5dc38e04757f2865bf7"><td class="memItemLeft" align="right" valign="top"><a id="a8a9f63a43625c5dc38e04757f2865bf7"></a>
typedef <a class="el" href="a02657.html">OpenMesh::Decimater::ModHandleT</a>&lt; <a class="el" href="a02685.html">Self</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Handle</b></td></tr>
<tr class="separator:a8a9f63a43625c5dc38e04757f2865bf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabf9f199fb9210eab5d48a11d1d84c3b"><td class="memItemLeft" align="right" valign="top"><a id="aabf9f199fb9210eab5d48a11d1d84c3b"></a>
typedef <a class="el" href="a02661.html">OpenMesh::Decimater::ModBaseT</a>&lt; MeshT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Base</b></td></tr>
<tr class="separator:aabf9f199fb9210eab5d48a11d1d84c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40050069e1690870b2929921fb578985"><td class="memItemLeft" align="right" valign="top"><a id="a40050069e1690870b2929921fb578985"></a>
typedef Base::Mesh&#160;</td><td class="memItemRight" valign="bottom"><b>Mesh</b></td></tr>
<tr class="separator:a40050069e1690870b2929921fb578985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a169c5fc450697a5fe6930ff5245f370a"><td class="memItemLeft" align="right" valign="top"><a id="a169c5fc450697a5fe6930ff5245f370a"></a>
typedef Base::CollapseInfo&#160;</td><td class="memItemRight" valign="bottom"><b>CollapseInfo</b></td></tr>
<tr class="separator:a169c5fc450697a5fe6930ff5245f370a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abee243096a68fd0eea4dc1307dd1d16c"><td class="memItemLeft" align="right" valign="top"><a id="abee243096a68fd0eea4dc1307dd1d16c"></a>
typedef std::vector&lt; <a class="el" href="a02689.html">Info</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#abee243096a68fd0eea4dc1307dd1d16c">InfoList</a></td></tr>
<tr class="memdesc:abee243096a68fd0eea4dc1307dd1d16c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of the list storing the progressive mesh info <a class="el" href="a02689.html" title="Struct storing progressive mesh information. ">Info</a>. <br /></td></tr>
<tr class="separator:abee243096a68fd0eea4dc1307dd1d16c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_a02661"><td colspan="2" onclick="javascript:toggleInherit('pub_types_a02661')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="a02661.html">OpenMesh::Decimater::ModBaseT&lt; MeshT &gt;</a></td></tr>
<tr class="memitem:a49500127c96591367298aa17e8527e44 inherit pub_types_a02661"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="a02661.html#a49500127c96591367298aa17e8527e44afc88837943f46ccbf0ef35d3fcf9c5b1">ILLEGAL_COLLAPSE</a> = -1, 
<a class="el" href="a02661.html#a49500127c96591367298aa17e8527e44a2b521064f4abfdfb6eb5464308b6f6e7">LEGAL_COLLAPSE</a> = 0
 }</td></tr>
<tr class="separator:a49500127c96591367298aa17e8527e44 inherit pub_types_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a859ae4de39db6d7e9d1a1ad1335fb897 inherit pub_types_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a859ae4de39db6d7e9d1a1ad1335fb897"></a>
typedef MeshT&#160;</td><td class="memItemRight" valign="bottom"><b>Mesh</b></td></tr>
<tr class="separator:a859ae4de39db6d7e9d1a1ad1335fb897 inherit pub_types_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cc9f0b0682dbead98929e929e18d2cf inherit pub_types_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a8cc9f0b0682dbead98929e929e18d2cf"></a>
typedef <a class="el" href="a02633.html">CollapseInfoT</a>&lt; MeshT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>CollapseInfo</b></td></tr>
<tr class="separator:a8cc9f0b0682dbead98929e929e18d2cf inherit pub_types_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad124ae93722ee2179c3490c856f42219"><td class="memItemLeft" align="right" valign="top"><a id="ad124ae93722ee2179c3490c856f42219"></a>
virtual const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#ad124ae93722ee2179c3490c856f42219">name</a> () const override</td></tr>
<tr class="memdesc:ad124ae93722ee2179c3490c856f42219"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set module's name. <br /></td></tr>
<tr class="separator:ad124ae93722ee2179c3490c856f42219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad195363a5b1d1a5a6924b01344236d4d"><td class="memItemLeft" align="right" valign="top"><a id="ad195363a5b1d1a5a6924b01344236d4d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#ad195363a5b1d1a5a6924b01344236d4d">ModProgMeshT</a> (MeshT &amp;_mesh)</td></tr>
<tr class="memdesc:ad195363a5b1d1a5a6924b01344236d4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ad195363a5b1d1a5a6924b01344236d4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0304c26583a7c7be2fd873c48388d78"><td class="memItemLeft" align="right" valign="top"><a id="ac0304c26583a7c7be2fd873c48388d78"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#ac0304c26583a7c7be2fd873c48388d78">~ModProgMeshT</a> ()</td></tr>
<tr class="memdesc:ac0304c26583a7c7be2fd873c48388d78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ac0304c26583a7c7be2fd873c48388d78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad693faea9adec1402aa2895dd1670291"><td class="memItemLeft" align="right" valign="top"><a id="ad693faea9adec1402aa2895dd1670291"></a>
const <a class="el" href="a02685.html#abee243096a68fd0eea4dc1307dd1d16c">InfoList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>pmi</b> () const</td></tr>
<tr class="separator:ad693faea9adec1402aa2895dd1670291"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaa99713a4e23cacb75b30ed6cb80a32"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#abaa99713a4e23cacb75b30ed6cb80a32">postprocess_collapse</a> (const <a class="el" href="a02633.html">CollapseInfo</a> &amp;_ci) override</td></tr>
<tr class="memdesc:abaa99713a4e23cacb75b30ed6cb80a32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores collapse information in a queue.  <a href="#abaa99713a4e23cacb75b30ed6cb80a32">More...</a><br /></td></tr>
<tr class="separator:abaa99713a4e23cacb75b30ed6cb80a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394b9d3f9db7f71b28544db09bf7be86"><td class="memItemLeft" align="right" valign="top"><a id="a394b9d3f9db7f71b28544db09bf7be86"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_binary</b> (void) const</td></tr>
<tr class="separator:a394b9d3f9db7f71b28544db09bf7be86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52f38ce6a1dafe179fa76b33e7addf17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#a52f38ce6a1dafe179fa76b33e7addf17">write</a> (const std::string &amp;_ofname)</td></tr>
<tr class="memdesc:a52f38ce6a1dafe179fa76b33e7addf17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write progressive mesh data to a file in proprietary binary format .pm.  <a href="#a52f38ce6a1dafe179fa76b33e7addf17">More...</a><br /></td></tr>
<tr class="separator:a52f38ce6a1dafe179fa76b33e7addf17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a369dd9d0271dc549ee65fb2f0764f19d"><td class="memItemLeft" align="right" valign="top"><a id="a369dd9d0271dc549ee65fb2f0764f19d"></a>
const <a class="el" href="a02685.html#abee243096a68fd0eea4dc1307dd1d16c">InfoList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02685.html#a369dd9d0271dc549ee65fb2f0764f19d">infolist</a> () const</td></tr>
<tr class="memdesc:a369dd9d0271dc549ee65fb2f0764f19d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to collected information. <br /></td></tr>
<tr class="separator:a369dd9d0271dc549ee65fb2f0764f19d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_a02661"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a02661')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a02661.html">OpenMesh::Decimater::ModBaseT&lt; MeshT &gt;</a></td></tr>
<tr class="memitem:ab2e5893b8418b3bbf4c88fc5cb7b75e5 inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="ab2e5893b8418b3bbf4c88fc5cb7b75e5"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#ab2e5893b8418b3bbf4c88fc5cb7b75e5">~ModBaseT</a> ()</td></tr>
<tr class="memdesc:ab2e5893b8418b3bbf4c88fc5cb7b75e5 inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual desctructor. <br /></td></tr>
<tr class="separator:ab2e5893b8418b3bbf4c88fc5cb7b75e5 inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c102bc43acb81911c27024032b48b02 inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a1c102bc43acb81911c27024032b48b02"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a1c102bc43acb81911c27024032b48b02">is_binary</a> (void) const</td></tr>
<tr class="memdesc:a1c102bc43acb81911c27024032b48b02 inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if criteria returns a binary value. <br /></td></tr>
<tr class="separator:a1c102bc43acb81911c27024032b48b02 inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36fbc3ecb0b707e2087aea565c5bd6b5 inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a36fbc3ecb0b707e2087aea565c5bd6b5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a36fbc3ecb0b707e2087aea565c5bd6b5">set_binary</a> (bool _b)</td></tr>
<tr class="memdesc:a36fbc3ecb0b707e2087aea565c5bd6b5 inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether module is binary or not. <br /></td></tr>
<tr class="separator:a36fbc3ecb0b707e2087aea565c5bd6b5 inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c6972aeffef98839951846051690c0b inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a2c6972aeffef98839951846051690c0b"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a2c6972aeffef98839951846051690c0b">initialize</a> ()</td></tr>
<tr class="memdesc:a2c6972aeffef98839951846051690c0b inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize module-internal stuff. <br /></td></tr>
<tr class="separator:a2c6972aeffef98839951846051690c0b inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb81c6b9a752741fce2366ca605cd14c inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#acb81c6b9a752741fce2366ca605cd14c">collapse_priority</a> (const <a class="el" href="a02633.html">CollapseInfoT</a>&lt; MeshT &gt; &amp;)</td></tr>
<tr class="memdesc:acb81c6b9a752741fce2366ca605cd14c inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return collapse priority.  <a href="a02661.html#acb81c6b9a752741fce2366ca605cd14c">More...</a><br /></td></tr>
<tr class="separator:acb81c6b9a752741fce2366ca605cd14c inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6aa846add0068b1e2bd7005e60edb4 inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a4d6aa846add0068b1e2bd7005e60edb4"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a4d6aa846add0068b1e2bd7005e60edb4">preprocess_collapse</a> (const <a class="el" href="a02633.html">CollapseInfoT</a>&lt; MeshT &gt; &amp;)</td></tr>
<tr class="memdesc:a4d6aa846add0068b1e2bd7005e60edb4 inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Before _from_vh has been collapsed into _to_vh, this method will be called. <br /></td></tr>
<tr class="separator:a4d6aa846add0068b1e2bd7005e60edb4 inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f1b2156b44cff425dd758e84218f0db inherit pub_methods_a02661"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a3f1b2156b44cff425dd758e84218f0db">set_error_tolerance_factor</a> (double _factor)</td></tr>
<tr class="memdesc:a3f1b2156b44cff425dd758e84218f0db inherit pub_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">This provides a function that allows the setting of a percentage of the original contraint.  <a href="a02661.html#a3f1b2156b44cff425dd758e84218f0db">More...</a><br /></td></tr>
<tr class="separator:a3f1b2156b44cff425dd758e84218f0db inherit pub_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_a02661"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_a02661')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="a02661.html">OpenMesh::Decimater::ModBaseT&lt; MeshT &gt;</a></td></tr>
<tr class="memitem:ac434e4c53a1502b51c9bf8f79214727e inherit pro_methods_a02661"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#ac434e4c53a1502b51c9bf8f79214727e">ModBaseT</a> (MeshT &amp;_mesh, bool _is_binary)</td></tr>
<tr class="memdesc:ac434e4c53a1502b51c9bf8f79214727e inherit pro_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="a02661.html#ac434e4c53a1502b51c9bf8f79214727e">More...</a><br /></td></tr>
<tr class="separator:ac434e4c53a1502b51c9bf8f79214727e inherit pro_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b4ef38dac53440f7a01402a6844722a inherit pro_methods_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a4b4ef38dac53440f7a01402a6844722a"></a>
MeshT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02661.html#a4b4ef38dac53440f7a01402a6844722a">mesh</a> ()</td></tr>
<tr class="memdesc:a4b4ef38dac53440f7a01402a6844722a inherit pro_methods_a02661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the mesh associated with the decimater. <br /></td></tr>
<tr class="separator:a4b4ef38dac53440f7a01402a6844722a inherit pro_methods_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_a02661"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_a02661')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="a02661.html">OpenMesh::Decimater::ModBaseT&lt; MeshT &gt;</a></td></tr>
<tr class="memitem:a3893f0f6368f1a1fe5e37f6006d72d62 inherit pro_attribs_a02661"><td class="memItemLeft" align="right" valign="top"><a id="a3893f0f6368f1a1fe5e37f6006d72d62"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>error_tolerance_factor_</b></td></tr>
<tr class="separator:a3893f0f6368f1a1fe5e37f6006d72d62 inherit pro_attribs_a02661"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class MeshT&gt;<br />
class OpenMesh::Decimater::ModProgMeshT&lt; MeshT &gt;</h3>

<p>Collect progressive mesh information while decimating. </p>
<p>The progressive mesh data is stored in an internal structure, which can be evaluated after the decimation process and (!) before calling the garbage collection of the decimated mesh. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="abaa99713a4e23cacb75b30ed6cb80a32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaa99713a4e23cacb75b30ed6cb80a32">&#9670;&nbsp;</a></span>postprocess_collapse()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MeshT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a02685.html">OpenMesh::Decimater::ModProgMeshT</a>&lt; MeshT &gt;::postprocess_collapse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a02633.html">CollapseInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>_ci</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Stores collapse information in a queue. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a02685.html#a369dd9d0271dc549ee65fb2f0764f19d" title="Reference to collected information. ">infolist()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="a02661.html#a9b79ddfa2e7771572dd558c928edcdeb">OpenMesh::Decimater::ModBaseT&lt; MeshT &gt;</a>.</p>

</div>
</div>
<a id="a52f38ce6a1dafe179fa76b33e7addf17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52f38ce6a1dafe179fa76b33e7addf17">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MeshT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="a02685.html">OpenMesh::Decimater::ModProgMeshT</a>&lt; MeshT &gt;::write </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>_ofname</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write progressive mesh data to a file in proprietary binary format .pm. </p>
<p>The methods uses the collected data to write a progressive mesh file. It's a binary format with little endian byte ordering:</p>
<ul>
<li>The first 8 bytes contain the word "ProgMesh".</li>
<li>32-bit int for the number of vertices <code>NV</code> in the base mesh.</li>
<li>32-bit int for the number of faces in the base mesh.</li>
<li>32-bit int for the number of halfedge collapses (now vertex splits)</li>
<li>Positions of vertices of the base mesh (32-bit float triplets).<br />
 <code></code>[x,y,z][x,y,z]...</li>
<li>Triplets of indices (32-bit int) for each triangle (index in the list of vertices of the base mesh defined by the positions.<br />
 <code></code>[v0,v1,v2][v0,v1,v2]...</li>
<li>For each collapse/split a detail information package made of 3 32-bit floats for the positions of vertex <code>v0</code>, and 3 32-bit int indices for <code>v1</code>, <code>vl</code>, and <code>vr</code>. The index for <code>vl</code> or <code>vr</code> might be -1, if the face on this side of the edge does not exists.</li>
</ul>
<dl class="section remark"><dt>Remarks</dt><dd>Write file before calling the garbage collection of the mesh. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_ofname</td><td>Name of the file, where to write the progressive mesh </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> on success of the operation, else <code>false</code>. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>OpenMesh/Tools/Decimater/<a class="el" href="a00599_source.html">ModProgMeshT.hh</a></li>
<li>OpenMesh/Tools/Decimater/<a class="el" href="a00602_source.html">ModProgMeshT_impl.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
